package org.spring.springboot.app.community.info.dao;

import org.spring.springboot.app.community.info.domain.po.CommunityInfoPO;
import org.spring.springboot.app.community.info.domain.vo.CommunityInfoSelectVO;

import java.util.List;

public interface CommunityInfoDao {

    List<CommunityInfoPO> selectByParent(String parentId);


    CommunityInfoSelectVO findById(String id);

    List<CommunityInfoSelectVO> findByOfficeId(String officeId);

    int deleteByPrimaryKey(String id);

    int insert(CommunityInfoPO record);

    int insertSelective(CommunityInfoPO record);

    CommunityInfoPO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(CommunityInfoPO record);

    int updateByPrimaryKeyWithBLOBs(CommunityInfoPO record);

    int updateByPrimaryKey(CommunityInfoPO record);

    int  updateAreaIdById(String id,String areaId);
}